<template>
    <div id="extendToast" class="page">
        <div class="section">
            <icon type="success-no-circle"></icon>
            <p v-html="text">{{text}}</p>
        </div>
    </div>
</template>
<script>
import { Icon } from 'vux'
export default {
    name:'extendToast',
    components:{
        Icon
    }
}
</script>
<style lang="less" scoped>
.page{
    position:fixed;
    top:0rem;
    left:0rem;
    right:0rem;
    bottom:0rem;
    right:0rem;
    z-index:10000;
    background:transparent;
    display:flex;
    align-items: center;
    justify-content: center;
    .section{
        display:flex;
        align-items:center;
        justify-content: center;
        flex-direction: column;
        color:white;
        background:rgba(0,0,0,0.5);
        border-radius: 1rem;
        padding:1rem 4rem 1.4rem;
        &>i{
            color:#ff3b2d;
        }
        &>p{
            text-align:center;
            font-size:1.4rem;
            line-height:1.6rem;
            font-weight:bold;
        }
    }
}
</style>
